module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
    plugins: [
//      ["import", { libraryName: "@ant-design/react-native" }],
    [
      'babel-plugin-root-import',{
        rootPathSuffix: './src',
        rootPathPrefix: '@/'
      }
    ],
//      [
//        require.resolve('babel-plugin-module-resolver'),
//        {
//          extensions: ['.js', '.jsx','tsx','ts'],
//          root: ['.'],
//          alias: {
//            views: './src/views',
//            config: './src/config',
//            assets: './src/assets',
//            utils: './src/utils',
//            model: './src/model',
//            '*': './src',
//            pages: "./src/views/pages",
//            routes:  "./src/routes/*",
//          }
//        },
//      ],
    ]
};
